package com.bootdo.shop.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.shop.dao.WxShopAccountDao;
import com.bootdo.shop.domain.WxShopAccountDO;
import com.bootdo.shop.service.WxShopAccountService;



@Service
public class WxShopAccountServiceImpl implements WxShopAccountService {
	@Autowired
	private WxShopAccountDao wxShopAccountDao;
	
	@Override
	public WxShopAccountDO get(String id){
		return wxShopAccountDao.get(id);
	}
	
	@Override
	public List<WxShopAccountDO> list(Map<String, Object> map){
		return wxShopAccountDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return wxShopAccountDao.count(map);
	}
	
	@Override
	public int save(WxShopAccountDO wxShopAccount){
		return wxShopAccountDao.save(wxShopAccount);
	}
	
	@Override
	public int update(WxShopAccountDO wxShopAccount){
		return wxShopAccountDao.update(wxShopAccount);
	}
	
	@Override
	public int remove(String id){
		return wxShopAccountDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return wxShopAccountDao.batchRemove(ids);
	}

    @Override
    public List<WxShopAccountDO> likeList(Map<String, Object> map){
        return wxShopAccountDao.likeList(map);
    }
	
}
